package com.remote;

import android.os.Bundle;
import android.view.View.OnClickListener;
import android.view.View;
import android.widget.*;
import android.content.Intent;
import android.util.Log;

public class AppPicker extends Remote{
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.app_picker);
        
        ImageView rhythmbox_logo = (ImageView)findViewById(R.id.rhythmbox_logo);
        rhythmbox_logo.setOnClickListener(new OnClickListener(){
            @Override
            public void onClick(View v){
                Log.i(TAG,"rhythmbox logo pressed");
                v.setBackgroundResource(android.R.drawable.list_selector_background);      // list_selector_background
                startActivity(new Intent(AppPicker.this,RhythmboxControl.class));
            }
        });
    }
}
